package com.babyqiao.wallpaper.manager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author QLZ
 * @date 2020/12/20
 */
@SpringBootApplication
@MapperScan({"com.babyqiao.wallpaper.manager.dao","com.macro.mall.mapper"})
@ComponentScan(basePackages = {"com.babyqiao.wallpaper"})
@EnableDiscoveryClient
@EnableFeignClients
@EnableCaching
public class WallpaperServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(WallpaperServiceApplication.class, args);
    }

}
